package com.ruoyi.liangshi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.liangshi.domain.BiBsKscMonth;
import com.ruoyi.liangshi.mapper.BiBsKscMonthMapper;
import com.ruoyi.liangshi.service.IBiBsKscMonthService;
import com.ruoyi.liangshi.vo.query.BiBsKscMonthAvgTimeChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscMonthChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscMonthDataVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author LiuJin
 * @Date: Create in 2023-11-22 10:17
 * @Description: this class is
 */
@Service
public class BiBsKscMonthServiceImpl extends ServiceImpl<BiBsKscMonthMapper, BiBsKscMonth> implements IBiBsKscMonthService {
    @Override
    public List<BiBsKscMonthChartData> getBsKscMonthChartDataList(String date) {
        return getBaseMapper().getBsKscMonthChartDataList(date);
    }

    @Override
    public List<BiBsKscMonthAvgTimeChartData> getBsKscMonthAvgTimeChartDataList(String date) {
        return getBaseMapper().getBsKscMonthAvgTimeChartDataList(date);
    }

    @Override
    public List<BiBsKscMonthDataVo> getBsKscMonthDataList(Long shopId,String date) {
        return getBaseMapper().getBsKscMonthDataList(shopId,date);
    }
}
